<template>
  <complex-table :data="subjects">
    <el-table-column
      :label="$t('commons.table.name')"
      prop="name"
      min-width="30"
    />
    <el-table-column
      :label="$t('business.namespace.namespace')"
      prop="namespace"
      min-width="30"
    />
    <el-table-column label="Kind" prop="kind" min-width="30" />
    <el-table-column
      :label="$t('business.access_control.api_group')"
      prop="apiGroup"
      min-width="30"
    />
  </complex-table>
</template>

<script setup lang="ts">
import ComplexTable from "@/views/domain/kubeHud/views/components/complex-table/index.vue";
type Prop = {
  subjects?: any[];
};

const props = withDefaults(defineProps<Prop>(), {
  subjects: () => []
});
</script>

<style scoped></style>
